//----------------------------------------------------------------------------------
// C2DTexture class
// Author: Oscar Serrano
//
// Description:
// 
//----------------------------------------------------------------------------------

#pragma once

#ifndef C2DTEXTURE_H
#define C2DTEXTURE_H

#include <string>
#include "Texture.h"
#include <d3dx9.h>

class C2DTexture: public CTexture
{

protected:

	LPDIRECT3DTEXTURE9	m_Texture;
	virtual bool	LoadFile	();
	void			Unload		();

public:

	C2DTexture				();
	virtual ~C2DTexture		();
	
	
	void Activate			(size_t StageId);
};

#endif //C2DTEXTURE_H

